package com.topisv.tms.entity.stock.instorage;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;

/**
 * 入库信息
 */
@Entity
@Table(name = "instorage_info")
public class InstorageInfo extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String customerCode;
	
	private String warehouseCode;
	
	private String billCode;
	
	private String uptaskCode;
	
	private String sku;
	
	private Integer num;
	
	private Date opeTime;
	
	private String billType;
	
	private String aboutCode;
	
	private String errorFlag;
	
	
	public String getErrorFlag() {
		return errorFlag;
	}

	public void setErrorFlag(String errorFlag) {
		this.errorFlag = errorFlag;
	}

	public String getBillType() {
		return billType;
	}

	public void setBillType(String billType) {
		this.billType = billType;
	}

	public Date getOpeTime() {
		return opeTime;
	}

	public void setOpeTime(Date opeTime) {
		this.opeTime = opeTime;
	}

	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}


	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getUptaskCode() {
		return uptaskCode;
	}

	public void setUptaskCode(String uptaskCode) {
		this.uptaskCode = uptaskCode;
	}

	//dto属性
	private Customers customer;
	private AreaGroup warehouse;

	@Transient
	public Customers getCustomer() {
		return customer;
	}

	public void setCustomer(Customers customer) {
		this.customer = customer;
	}

	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}

	public String getAboutCode() {
		return aboutCode;
	}

	public void setAboutCode(String aboutCode) {
		this.aboutCode = aboutCode;
	}

	
}